<div class="bjui-pageContent">
    <form action="{:U('save_admin')}" data-callback="dialogFormCall" data-toggle="validate" data-alertmsg="false" class="dialogForm">
        <div class="form-group">
            <label class="x100">用户名:</label>
            <input type="text" name="username" data-rule="required" value="{$va.username}"/>
        </div>
        <div class="form-group">
            <label class="x100">Email地址:</label>
            <input type="text" name="email" data-rule="required;email" />
        </div>
        <div class="form-group">
            <label class="x100">登陆密码:</label>
            <input type="password" name="password" data-rule="required" />
        </div>
        <div class="form-group">
            <label class="x100">角色:</label>
            <select name="role_id" data-toggle="selectpicker">
                <volist name="res" id="ro">
                <option value="{$ro.id}">{$ro.name}</option>
                </volist>
            </select>
        </div>
    </form>
</div>
<include file="Common/footer" ftype="save" />